﻿

namespace Admin.NET.Application.Service;
public class XieYiYiYuanChuKuOutput
{
    // 单据编号
    public string danHao { get; set; }

    // 单据状态
    public int danJuZhuangTai { get; set; }

    // 审核信息
    public string shenHeXinXi { get; set; } = "";
    // 备注
    public string remark { get; set; } = "";
    // 创建时间，默认当前时间
    public DateTime? creationTime { get; set; }
    // 来源
    public string laiYuan { get; set; } = "";

    // 发血类型
    public string? faXueLeiXing { get; set; }
    public string? chuKuYuanYin { get; set; }
    public DateTime? chuKuShiJian {  get; set; }
}

public class XieYiYiYuanChuKuMessageOutput
{
    public XieYiYiYuanChuKuOutput master { get; set; }

    public List<XieYiYiYuanChuKuMingXiOutput> mingXiList { get; set; }

}

public class XieYiYiYuanChuKuMingXiOutput
{
    /// <summary>
    /// 献血码
    /// </summary>
    public string xianXueMa { get; set; }
    /// <summary>
    /// "产品码, 产品表Id"
    /// </summary>
    public string chanPinId { get; set; } = "";

    /// <summary>
    /// "血液名称"
    /// </summary>
    public string mingCheng { get; set; } = "";

    /// <summary>
    /// "ABO"
    /// </summary>
    public string abo { get; set; } = "";

    /// <summary>
    /// "RhD"
    /// </summary>
    public string rhD { get; set; } = "";

    /// <summary>
    /// "容量"
    /// </summary>
    public decimal rongLiang { get; set; }

    /// <summary>
    /// "单位"
    /// </summary>
    public string danWei { get; set; } = "";

    /// <summary>
    /// "价格"
    /// </summary>
    public decimal jiaGe { get; set; }

    /// <summary>
    /// "采血时间"
    /// </summary>
    public DateTime? caiXueShiJian { get; set; }

    /// <summary>
    /// "制备时间"
    /// </summary>
    public DateTime? zhiBeiShiJian { get; set; }

    /// <summary>
    /// "失效时间"
    /// </summary>
    public DateTime? shiXiaoShiJian { get; set; }
    public long? pinZhongId { get; set; }
    public string daLei { get; set; }
}
public class XieYiYiYuanChuKuListInput
{
    //单号
    public string DanHao { get; set; }
    public long ruKuYuanQuId { get; set; }
    //开始时间
    public DateTime? KaiShiShiJian { get; set; }
    //结束时间
    public DateTime? JieShuShiJian { get; set; }

    public int? DanJuZhuangTai { get; set; }
}
public class XieYiYiYuanChuKuDanHaoInput
{
    //单号
    public string DanHao { get; set; }
    public long ruKuYuanQuId { get; set; }
}
